

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<!--[if lt IE 9]>
<script
src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link rel="stylesheet" href="styles/style.css" type="text/css" />
<!--[if lte IE 7]>
<link rel="stylesheet" href="style_ie.css" />
<![endif]-->
<title>dbme!!!!</title>
</head>
<body>
<div id="bloc_page">
<header>
 <a href="#"><img src="../images/dBmelogo.png" alt="referentie" alt="dbme!" /></a>
</header>  
 <nav>
    <?php include_once('header.php'); ?>
</nav>
 <section>
  <aside>
  <!--right side baar -->  
  </aside>
     
  <article> 
             <table border="0" cellspacing="5" cellpadding="5">
                 <thead>
                     <tr>
                         <th colspan="2">&nbsp;</th>
                         <th></th>
                     </tr>
                 </thead>
                 <tbody>
                     <tr>
             <td colspan="2">
                 <form name="form1" method="POST" action="<?php echo $_SERVER['PHP_SELF']; ?>" enctype="multipart/form-data">
             <div>
                 <fieldset>
                     <?php 
function daysDifference($endDate, $beginDate)
{

   //explode the date by "-" and storing to array
   $date_parts1=explode("-", $beginDate);
   $date_parts2=explode("-", $endDate);
   //gregoriantojd() Converts a Gregorian date to Julian Day Count
   $start_date=gregoriantojd($date_parts1[1], $date_parts1[2], $date_parts1[0]);
   $end_date=gregoriantojd($date_parts2[1], $date_parts2[2], $date_parts2[0]);
   return $end_date - $start_date;
}
$date1 = "2007-03-24";
$date2 = "2007-03-26";
echo daysDifference($date2, $date1); ?>
                     
                  <legend>Voor welke datum/periode</legend>
                  <p>van:<input type = "date" required = "required" name="date_van" value="" /> </p>
                  <p>tot:<input type = "date" required = "required" name="date_tot" value="" /> </p>
                   <p>aantal dagen:<input type = "number" min ="1" max ="20" required = "required" name="aantal_dag" value="" /> </p>
                 </fieldset>
            
             </div>
                <div>
                 <fieldset>
                  <legend>klant</legend>
                  <p>bedrijfsnaam:<input type = "text" name="bedrijfsnaam" value="" placeholder="limelight bv."/> </p>
                  <p>contactnaam:<input type = "date" required = "required" name="contactnaam" value="" placeholder="John Ratzenberger" /> </p>
                   <p>straat/nr:<input type = "text"  required = "required" name="straat" value="" placeholder="amstelweg 12" /> </p>
                   <p>postcode:<input type = "text"  required = "required" name="postcode" value="" placeholder="1200 AK" /> </p>
                   <p>plaats:<input type = "text"  required = "required" name="plaats" value=""  placeholder="Amsterdam" /> </p>
                   <p>tel nr:<input type = "tel"  required = "required" name="tel" value=""  placeholder="06 33 333 333" /> </p>
                   <p>email:<input type = "email"  required = "required" name="email" value="" placeholder="john@example.nl" /> </p>
                 </fieldset>
            
             </div> 
             <div>
                 <fieldset>
                  <legend>event loactie</legend>
                  <p>naam:<input type = "date" required = "required" name="contactnaam2" value="" placeholder="John Ratzenberger" /> </p>
                   <p>straat/nr:<input type = "text"  required = "required" name="straat2" value="" placeholder="amstelweg 12" /> </p>
                   <p>postcode:<input type = "text"  required = "required" name="postcode2" value="" placeholder="1200 AK" /> </p>
                   <p>plaats:<input type = "text"  required = "required" name="plaats2" value=""  placeholder="Amsterdam" /> </p>
                   <p>tel nr:<input type = "tel"  required = "required" name="tel2" value=""  placeholder="06 33 333 333" /> </p>
                   <p>naam contactpersoon lokatie: <input type = "text"  required = "required" name="naam_cont_loc" value="" placeholder="John van doorn" /> </p>
                 </fieldset>
            
             </div>
              <div>
                 <fieldset>
                  <legend>producten / sets</legend>
                  <table>
                      <tbody>
                          <tr>
                              <td width="25%">producten / sets</td>
                              <td width="40%"></td>
                              <td width="20%">dagprijs</td>
                              <td width="15%">weghalen</td>
                          </tr>
                          <tr>
                              <td>setnaam</td>
                              <td></td>
                              <td>xx,xx</td>
                              <td>x</td>
                          </tr>
                          <tr>
                              <td>product naam</td>
                             <td></td>
                             <td> xx,xx </td>
                              <td>x</td>
                          </tr>
                      </tbody>
                  </table>

                 </fieldset>
            
             </div> 
                 
                 
                 
                 
                 </form>
              </td>
              
                     </tr>
                     
                 </tbody>
             </table>

            
</article>
 
    <aside>
  <!--right side baar -->
       
        
   </aside>
</section>
 
 <footer>  
<p>Lorem ipsum dolor sit amet...</p>
<p>Vivamus sed libero nec mauris pulvinar facilisis ut non sem...</p>
<p>Phasellus ligula massa, congue ac vulputate non, dignissim at augue...</p>
</footer>
</div>
</body>
</html>
